package cn.tedu.coolshark.base.response;

import lombok.Getter;

@Getter
public enum StatusCode {
    USER_NOT_EXIST(10003,"用户不存在"),
    PASSWORD_ERROR(10002,"密码错误"),
    OPERATION_SUCCESS(20000,"操作成功"),
    OPERATION_FAILED(20001,"操作失败"),;
    private Integer state;
    private String message;

    StatusCode(Integer state, String message) {
        this.state = state;
        this.message = message;
    }
}
